Required for implementation correctness check in certain protection software.
Thanks to mkrsym1 mkrsym1@gmail.com for the patch!
-- v3: ntdll: Add tests for ret_len on NtQueryInformationThread HideFromDebugger ntdll: Write ret_len before checking length