Fixed calculation of array layers in read_image functions.
Fixed calculation of array layers in read_image functions.

surround-io/oclgrind,mpflanzer/Oclgrind,surround-io/oclgrind,mpflanzer/Oclgrind,mpflanzer/Oclgrind,surround-io/oclgrind,bitfusionio/Oclgrind,mpflanzer/Oclgrind,bitfusionio/Oclgrind,bitfusionio/Oclgrind,surround-io/oclgrind,bitfusionio/Oclgrind