SERVER-14984 Server aborts when running $centerSphere query with NaN radius

(cherry picked from commit 8dd902ab53e340aac9cf570f4b3c42f139694707)
Merge remote-tracking branch 'upstream/v2.6' into v2.6