Bug 1045957 - Improve code in GLReadTexImageHelper.cpp. - r=mattwoodrow