opencl: added get_global_id() overflow guard
opencl: added get_global_id() overflow guard

bh107/bohrium,madsbk/bohrium,bh107/bohrium,bh107/bohrium,madsbk/bohrium,madsbk/bohrium,madsbk/bohrium,bh107/bohrium