Retrieve MAX_WORK_ITEM_DIMENSIONS before getting the work item sizes