qapi: Fix to reject union command and event arguments