[Olena-patches] milena r2783: Add accumulator template parameter to all versions of erosion