[PATCH 5.4 064/129] perf jevents: Fix suspicious code in fixregex()