Implemented timeouts for WaitForSingleObject.
Added assertions for functions not implemented.
Thread timed join now only available with _GUN_SOURCE.
Added error messages for not implemented functions.
Merge pull request #1421 from akallabeth/winpr_timeouts

Winpr WaitForSingleObject timeouts