[PATCH 3/6] selftests: powerpc/ptrace: Fix linking against pthread