fix Issue 11269 - Union initialization on 64-bit platforms

Revert a part of #2605 from 9rnsr/fix7727.