Fixes for warnings during 64 bit builds.

Fixed various warnings related to the OpenxL APIs when building for 64
bit platforms.