render: Add an option to ignore GL errors.
It turned out on Mali GPU, sometimes we have some GL errors on glEGLImageTargetTexture2DOES on some NV12 format image. Before we figured out a proper fix, add a compile option to disable this check. The check is still on by default.
Signed-off-by: Lepton Wu lepton@chromium.org