[PATCH 5.12 302/677] tty: fix return value for unsupported ioctls