mavlink: is_published() fix

Fixed bug: if update() called before is_published(), then is_published() may return false even if topic was updated.