Add overflow detection for add.