read_image should now be more efficient

will have to experiment with profiling soon.
for now this should make the __pocl_read_image function faster
as there should be a lot less calculations and comparisons now

also sorry for removing the trailing whitespaces :S