optimize simd::transform for when inputs and outputs have compatible alignments, fix #756