Stub out timer routines in Fortran code

Arpack doesn't need the timing routine for anything.  arpack-ng also builds using second_NONE
Similarly, the L-BFGS-B code doesn't need to know the current CPU time, as the Scipy interface doesn't report it.

Fixes part of gh-2894

Needs backport