[Python-checkins] [3.9] bpo-41498: Fix build on platforms without sigset_t (GH-29770) (GH-29774)