mavlink, navigator: compile errors/warnings fixed