Fixing 'variable may be used uninitialized'

ddsinput.cpp:679:9: error: ‘w’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
         if (!w && !h && !d)
         ^

same for h and d