prepare for replacing deprecated clCreateImage2D method