interface-config-write: fix gateway settings on S&G machines. Refs #2920

This fix avoids skipping the gateway setting on red interfaces with
static IP assignment.
Release 2.5.1