fix more issues related to 0-size struct entries. part of #8184
Merge branch 'master' of github.com:JuliaLang/julia