small fix in osgDB.i to cope with older versions than osg 2.6
small fix in osgDB.i to cope with older versions than osg 2.6

haifeng60902/osgswig,haifeng60902/osgswig,haifeng60902/osgswig,haifeng60902/osgswig,haifeng60902/osgswig