smatch: remove the "loop could be replaced with if statement" messages