CSHARP-766: Freeze member maps when class map is frozen.