Fix issue with const rvalue references in Boost.Variant (refs #8988)