Update gwen/Samples/OpenGL/OpenGLSample.cpp

The two "delete" at the end of the file causes the program to crash due to it trying to delete NULL pointers.

They should always be NULL by the time it reaches that point, but if for some bizarre reason they're not, we might as well delete them ONLY if !NULL.