Refactor tx_type reader Factor out common codes. Remove repeated mbmi->tx_size calls. Change-Id: Id5de35e88f1a5f16223eaa06fc2c9f69124061ef