[DAG] Use the alignment of actual stored type (#244632)
Fixes #244552.
`INSERT_VECTOR_ELT` may implicitly truncate the inserted operand. When
expanding it through the stack, we should compute the alignment from the
actual memory type rather than the untruncated operand type.