move signal.h REG_* macros under _GNU_SOURCE protection