Merge pull request #19467 from aschwaighofer/fix_global_tail_allocated_storage_4.2

[4.2] IRGen: Fix type of a global with tail allocated storage