Avoid unnecessary reencode in choose_largest_tx_size
Avoid unnecessary reencode in choose_largest_tx_size

This change is similar to the one done for choose_tx_size_from_rd in
daf841b4a10ece1b6831300d79f271d00f9d027b

It gives a 4% speed-up on bus_cif.y4m with the following settings:
--cpu-used=4 -p 1 --end-usage=q --cq-level=40 --tile-columns=0 --tile-rows=0

Change-Id: Ic54fe4a066a2c0b5f6349d80cd13de8bb8ddcabc

GrokImageCompression/aom,mbebenita/aom,luctrudeau/aom,GrokImageCompression/aom,smarter/aom,smarter/aom,luctrudeau/aom,mbebenita/aom,mbebenita/aom,luctrudeau/aom,smarter/aom,mbebenita/aom,mbebenita/aom,smarter/aom,luctrudeau/aom,smarter/aom,mbebenita/aom,mbebenita/aom,luctrudeau/aom,smarter/aom,luctrudeau/aom,GrokImageCompression/aom,GrokImageCompression/aom,mbebenita/aom,GrokImageCompression/aom,mbebenita/aom,GrokImageCompression/aom