libwinpr-utils: add synchronized version of HashTable