Do not needlessly check for Graphics subsystem in headless mode.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2574 3bd170d8-ddcf-f82c-f583-7a401ccf5608