make functions in core.sys.posix.signal and core.sys.posix.semaphore nothrow