core/ocl: temporary move device selection from ocl module