[RTL]
- Implement RtlpCloseRegistryHandle helper, which closes a registry key, if RTL_REGISTRY_HANDLE was not passed as RelativeTo
- Use RtlpCloseRegistryHandle whereever required, fixing some cases, where we unconditionally closed the handle

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64186 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]
 - Enable all debug channels if DEBUGCHANNEL is set to "+all".
 - Fix GDI objects exclusive locks counting, fixing a memory corruption altogether.
 - Add a missing lock release on error path.
 - Add a debug print.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64187 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]
 - Do not make callouts to user-mode while holding a lock on GDI objects.
Fixes crashes in user32_winetest:win and :msg

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64189 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]
 - Fix error handling in NtGdiPathToRegion

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64190 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL/AMD64]
- Fix trap flags in KiRaiseAssertion
- Add some asm debugcode

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64191 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL/AMD64]
Actually revert the change to KiRaiseAssertion, it was correct before

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64192 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]
 - Check the right variable for error condition

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64193 97493ccd-5924-5043-b1f5-66cb403b36ce