Patch and test case by Jiri Slaby to handle "initializing globals when
a global has an undef fill of holes inside structures."