Fixes the declaration of NATOMS in the xdrfile interface

it should be passed by value and intent(in)
Changes NATOMS, STEP, STAT to natoms, step, stat