[Extensions] Use base::GetNativeLibraryName in RegisterExternalExtensionsInDirectory

This will avoid us having problems with .so vs .dll (Linux vs Windows).