render_gl: conditional compilation of OpenCL sharing functions.