Replace GLib types with OpenCL types in public API

Also:
- Fix const correctness problems in device_query.*
- Returned profile summary is now const and doesn't require free