SERVER-7176 Allow set5.js to accept non-reordered doc as valid.
SERVER-7174 Work around apparent OS X GCC 4.2 optimizer confusion