[PATCH 1/9] selftests/x86: Consolidate redundant signal helper functions