Allow passing an allocator to ReductionKernel (patch by Simon Perkins)