SERVER-12609 Make the cast from scoped_array to bool explicit.

In Boost 1.55.0, the bool operator of scoped_array was made 'explicit' and
compilation of the enterprise client is now failing, because we are
casting implicitly.