OpenGL runtime fixes
OpenGL runtime fixes

— halide_opengl_device_free should do cleanup even if DeleteTexture
fails
— minor optimization of interleaved_to_halide and halide_to_interleaved
— restructure halide_opengl_copy_to_host() to ensure that Framebuffer
is cleaned up on error exits; bring get_pixels() inline
— converted a few more local malloc/free pairs to use HalideMalloc
helper
— minor formatting fixes


Former-commit-id: 7bba3f9ef23af4fb0a8cd1f1485ae3cba7b58a49
Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide