[PATCH 4.14 173/323] tty: fix return value for unsupported ioctls