HBASE-12189 Fix new issues found by coverity static analysis