Fix minor version macro

This fixes the minor version macro.
Add asserts for clRelease*() functions in destructors

This adds assert()'s verifying that the clRelease*() functions
in the destructors for the OpenCL wrapper classes return
CL_SUCCESS.