The Prime Minister's chief of staff Sue Gray is being criticised for having a higher salary than him.