Add debug verbosity for erroring API calls

This pull request contains changes to make the OCLGrind runtime report errors when cl* APIs fail for some reason.
Also, use the KHR header for the ICDDispatch extension to import the proper table type instead of having void* casts.