ntdll: Abstract the support for comparing file identities.