mod_gearman: prevent empty args leading into a sigsegv with strdup()

debugged on #icinga-devel irc with user hufman.