[PATCH v3 10/11] ntdll: Factored out get_inode_open_sharing.