Revert "lib: div: remove check for dividend is 0x80000000"

This reverts commit 80e9f74c14f676c6120cded90229a95839782449.
Revert "Revert "lib: div: remove check for dividend is 0x80000000""

This reverts commit 8f03f6ffdc19ebc3a5d43e1876b5724c52a15b26.