updates adios helper functions to have same versions as in SPECFEM3D_GLOBE package

adios helper functions consistent with global version ones; removes unused variables; checks for adios database setting in xdecompose_mesh