a4reweight: bugfix if -x parameter is invalid

Without this, a4reweight will hang with 100% cpu usage if the input file is an invalid parameter.