qapi: Implement deprecated-input=reject for QMP commands