[Olena-patches] cleanup-2008 2775: Make linear::convolve work properly with heterogenous types.