Make sparse multiplication work for AbstractArrays