Reintroduce VAR_TX fix
Reintroduce VAR_TX fix

Reintroduce part of
Iaf2b717e6b8626b2b6a03226127221b776b49884
Which was later reverted in
I4c5b40ec63a6f19521191d3c730af87db3c4bc00

Change-Id: If3e5610ba3985ae7b4d952d8e616982465ac667a

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