Fixed a bug in enqueueMarker (attempted to call clEnqueueWaitForEvents instead)