[PATCH 2/5] ntoskrnl.exe: Make sure thread handle has rights to retrieve the TID.