Revert "winpr-handle: removed RegisterHandleCloseCb() which would require a better synchronization"
       RegisterHandleCloseCb() is also useful to don't get a circular dependency, a better synchronization must be find out...

This reverts commit 8f3b3fa57371cabe63fc1b23375bede3f0814927.