Devices: fix wrongly placed assert and device count iteration
Merge branch 'master' of https://github.com/pocl/pocl
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)
Merge branch 'master' of https://github.com/pocl/pocl
Merge branch 'master' of https://github.com/pocl/pocl
Merge branch 'master' of https://github.com/pocl/pocl
clEnqueueCopyImage basic implementation and factorization of code
clEnqueueWriteImage: remove calls to pocl_get_image_informations, fix wrong command fields (map_image intead of rw_image), consequently, device write_rect was called with incoherent region
clEnqueueMapImage: remove call to pocl_get_informations
Headers: remove map_image command node type (not used anymore)