OpenCL bug fixes on MacOS.
Improved 64bit pointer detection.
Authored by: spasi 2010-10-01
Parent: [r3425]
Child: [r3427]