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