[PATCH RFC 3/5] qapi: Move compat policy from QObject to generic visitor