i915g: Handle i915->batch == NULL correctly in flush