Handle shorter WM_HINTS

The hints vector can have length shorter than 9.
See <http://tronche.com/gui/x/xlib/ICC/client-to-window-manager/wm-hints.html>

This fixes a stumpwm crash when running nvlc or cvlc.