fix Issue 13416 - dead-lock in FreeBSD suspend handler

- use pthread internal THR_IN_CRITICAL to retry suspend

[Issue 13416](https://issues.dlang.org/show_bug.cgi?id=13416 "dead-lock in FreeBSD suspend handler")