Fix three coverity issues
Reported here: https://mail.kde.org/pipermail/konsole-devel/2022-July/041429.html
- Use delete[] to free array allocated with new.
- Don't separate two cases which are handled identically.
- In vt100 parsing state machine no need to handle in specific states characters which are handles identically in all states.
This should probably be applied to 22.08 as well.
Edited by Matan Ziv-Av