cassini-ci: Fix `ptest-to-junit.py`
The script doesn't accommodate for handling errors when it encounters first test failure, therefore enable failure logging early and add a test case if none has been added.
Signed-off-by: Vikas Katariya vikas.katariya@arm.com