boost: fix Boost.Variants with newer gcc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>