Merge pull request #1087 in CASA/casa from CAS-12625 to master
* commit '428d63f7fc559b45b3bc2ec18271cfde3896bf9c':
protect against a 1 channel chunk
removed a compiler warning
chunk creating an extra chunk of only one channel causes linear interpolation to shift to nearest