qapi: Tighten check whether implicit object type already exists