More precise validation of WebCLImageDescriptor in createImage