Revert of Implement helper functionalities for computing image size with ES3 settings. (patchset #6 id:140001 of https://codereview.chromium.org/1508953002/ )

Reason for revert:
Jamie thinks this caused the GLES2ConformTest.GL2FixedTests_divide_by_zero_input_run test to fail on FYI waterfall

Original issue's description:
> Implement helper functionalities for computing image size with ES3 settings.
>
> This will be used in ReadPixels, Tex{Sub}Image* in followup CLs.
>
> BUG=429053,563714
> TEST=gpu_unittests
> R=piman@chromium.org
>
> Committed: https://crrev.com/e0b58d1f24bce6a6f19dcbe5e857e3731d0631ca
> Cr-Commit-Position: refs/heads/master@{#364095}

TBR=piman@chromium.org,kbr@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=429053,563714

Review URL: https://codereview.chromium.org/1511773006

Cr-Commit-Position: refs/heads/master@{#364119}
5 files changed