Converting boost::shared_ptr< const T > to boost::shared_ptr< T >