CSHARP-1005: Fix ReadPreference to provide correct GetHashCode() values.