use the type's alignment for generated memsets

This is unlikely to alter optimized codegen but there's no point in downgrading the known alignment to 1.