How old is too old to take a child's temperature in the rectum?

None. Although uncomfortable and there are other accurate ways to measure body temperature as one gets older, it can always be done.