[PATCH 5/8] ntdll: Validate expected inproc sync type in get_inproc_sync.