Modify header in case of subcube selection

The change is done in order to produce mask and moment output FITS files with the correct WCS coordinates.