R: make Fortran bound checks work, if we are using gfortran.