use the type's alignment for generated memsets

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