Fix endless loop during startup

On armv7 sxhkd will hang during option parsing
due to a missing cast.
Merge pull request #15 from sahne/master

Fix endless loop during startup