libthr: add pthread_sigqueue(3)
PR: 278459
(cherry picked from commit 220aa0f450409948b869237e5c4505f992c913ce)