Merge "[optimizing] Improve x86/x86_64 bound check code"