Simplifies create_cl_mem() virtual method of GoclBuffer to reuse more code