musl: port tcgetsid; no idea how to test it yet