interpreter: Fix INTERP_STATS profiling code
The profiling code had slightly bitrotted since the last time it was used. This just fixes things so that if you toggle the INTERP_STATS macro then it just works and prints out the stats.
Fixes #25695 (closed)