[PATCH 5.17 004/140] MIPS: Fix CP0 counter erratum detection for R4k CPUs