Fix caluclation of nonmoving GC elapsed time
This MR fixes the calculation of wall clock time for the nonmoving collector by switching getProcessCPUTime() to getProcessElapsedTime(), which is the function used in all of the other elapsed time calculations.
Fixes #20751 (closed)