[ros-diffs] [weiden] 13541: fixed wrong buffer check in NtDuplicateToken and added buffer checks in NtOpenThreadTokenEx