target-i386: fix Coverity complaints about overflows