[OpenCL] Added texture support for OpenCL version < 1.2