The OpenCL C specification states that for out-of-range dimension indices, `get_num_groups` must return 1 instead of 0.