overhaul __synccall and fix AS-safety and other issues in set*id
[musl] / crt / crtn.c