sh: Fix up the CONFIG_PERF_EVENTS=n build for SH-4.