[BPI] Fix two potential divide-by-zero operations that are introduced in r256263.

llvm-svn: 256303
2 files changed