[PATCH v2 10/11] ntdll: Factored out get_inode_open_sharing