[GEOT-4944]: Fixing ImageLayout for netcdf reader
Merge pull request #608 from dromagnoli/GEOT-4944-12.x

[GEOT-4944]: Fixing ImageLayout for netcdf reader - backport to 12.x