ci: fixes and optimizations
kresd fix for uninitialized variable is included so it does not break build with -Werror.
For some reason gcc build without --coverage noticed uninitiialized value which is not
detected when --coverage is used.
Edited by Petr Špaček