Make Boost.Function's target() operation respect the cv-qualifiers of referenced function objects. Fixes #736