Fix unused parameter warning in reduce_on_gpu.hpp
Include <boost/mpl/size.hpp> in function.hpp