mavlink: better ParameterMetaData and set mag_decl function