[PATCH 6.18 336/614] tools/rtla: Fix --on-threshold always triggering