small fix for ocl_resize