tools: LogAnalyser, ensure error msgs go to stderr not stdout
tools: LogAnalyser if we fall off end of GPS data, return a valid time

Found cases where the loiter test would fail with some flights if
the vehicle never left that mode.  Don't use None in that case