[RFC] Interop between OpenCL and OpenGL

Adds the API functionality from OpenCl 1.0 for interop between OpenGL and OpenCL.

Currently RFC because of missing tests.