shift_gauge_field: correctly treat negative shifts, set default shifts to 0 explicitly if not set in input file