Fix SWIG typemaps for Fortran ordered array input

The typemaps with size parameters after the array pointer were correct, but the typemaps with size parameters before the array pointer created arrays with C ordering.