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