AP_Mission: Added check for number of jumps remaining in get_new_cmd()