Fix recursive `readPref`

    When using discriminators, `readPref` is called for each schema which causes an incorrectly nested read preference (e.g., `{"_type":"ReadPreference","mode":{"_type":"ReadPreference","mode":{"_type":"ReadPreference","mode":{"_type":"ReadPreference","mode":"secondaryPreferred"}}}}`).

    This will ensure that if the `read` key is already a `ReadPref` object that we do not wrap it again.
Merge pull request #2490 from kjvalencik/patch-1

Fix recursive `readPref`