batadv_gw_modes and BATADV_ATTR_GW_MODE were missing from the local version, so update it and the corresponding policy table from batctl.