Winpr WaitForSingleObject timeouts

* Added thread join timeouts in ```WaitForSingleObject``` for linux systems (uses non portable function ```pthread_tryjoin_np```)
* Added timeouts for mutex lock function
* Added error messages and asserts for not implemented functions