Correct buffer sizes for OpenCL variable buffers