ocl: workaround for synchronization issue in ::map()