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