Silence GCC warning about unused variable in release.
Silence GCC unused variable warning when idle-rate counter is disabled.