clCreateImage: fix returned value when format is not supported