clCreateImage: Remove unecessary freeing step when buffer allocation failed
clCreateImage: fix returned value when format is not supported
Devices: remove malloc operation (superseded by alloc_mem_obj)
Remove the malloc hook assignment from the ttasim driver as well.