Another round of Coverity fixes.