[PATCH 3.18 022/134] team: avoid complex list operations in team_nl_cmd_options_set()