Sir Keir Starmer's top adviser is "getting the right pay for the job" despite reports she earns £3,000 more than the prime minister, former Labour MP Harriet Harman has said.