Memory selection and compression leads to corrupt data

Created by: pnorbert

Describe the bug When using SetMemorySelection for a pointer and use SZ compression in the gray-scott example, the data is corrupt.

To Reproduce Use gray-scott, change the settings-files.json. "adios_memory_selection": true, Add SZ compression to the SimulationOutput in adios2.xml

$ mpirun -n 4 adios2-gray-scott settings-files.json 
$ mpirun -n 1 python3 gsplot.py -i gs.bp

Additional context The settings-staging.json is using mem selection and if I use compression in staging, the same error shows up.