Fix endless loop during startup

On armv7 sxhkd will hang during option parsing
due to a missing cast.