Fixing determination of CPU devices

CL_DEVICE_TYPE is actually a bitset. This fixes issues with pocl.