This is to fix PR34347.
EmitAtomicExpr will only use alignment information from Type, instead of Decl, so when the declaration of an atomic variable is marked to have the alignment equal as its size, EmitAtomicExpr don't know about it and will generate libcall instead of atomic op.
The patch merge the alignment information from Decl and from Type.