CLOUDSTACK-7168: Revert "Fixed Coverity Issues reported" that broke CI

This reverts commit 4523490d44160b054de9e943f72db1d0ce06054a.