[PATCH v3 4/5] qapi: Implement deprecated-input={reject, crash} for enum values