[PATCH v3 3/4] ntdll: Factor out get_inode_open_sharing.