[PATCH 4.9 117/240] tty: fix return value for unsupported ioctls