ofp-util: Add ofputil_switch_features_ports_trunc function.