Fix intent of get_global arguments.

The [xyz]p arrays are sorted by this subroutine, so they should not be
just intent(in).