Fix assertion WNCK_IS_WORKSPACE

Some window manager such as i3-wm may cause
wnck_screen_get_active_workspace to return NULL.
Add a sanity check before using the return value.
Merge pull request #33 from quark-zju/fix-wnck-workspace-null

Fix assertion WNCK_IS_WORKSPACE