SERVER-13001: fixup mongos side with mixed version shards

(cherry picked from commit 971bbb28a0c25ae26abe9da38e2b02b4cac36d9b)