libsys: add pdrfork_thread() on x86
(cherry picked from commit 74a2bf1b7a7ff0c872499cb94df24713f61c872c)