Add support to dynamic_bitset for compiling with exceptions disabled by using BOOST_TRY/BOOST_CATCH.

This applies the patch from bug https://svn.boost.org/trac/boost/ticket/9939