fix gv-3.7.4 compile error with old versions of Xaw3d
fix gv-3.7.4 core dump on bad resource files