[PATCH 7/9] rseq: selftests: Add non-glibc compatibility fixes