test: add sigabbrev_np() for systems where it's not available
This sits on top of !748 (merged), only the last commit applies here
sigabbrev_np() was first added to glibc 2.32 (Aug 2020) which is too recent for some of the distributions we support.
cc @gkiagia