[PATCH 6.5 145/321] selftests/powerpc: Fix emit_tests to work with run_kselftest.sh