Add missing CheckGLError

And whitespace tidy up this block
Fixes #1878

Can view without whitespace changes at
https://github.com/danzel/MonoGame/commit/7fe5895a224a199ae4b68c065555be62a277a72b?w=1