ntdll: Make the ntdll exports and relocations processing more generic.