qapi: Add feature flags to struct types