swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED