libgfortran: Fix file position after ENDFILE statement.