of_controller_v4: set max_len field on ofp_action_output when needed

This change makes the code agree with the comment just above it: when
asking the switch to output packets to the controller, use the specified
max_len value.