AnimatedDivision: pass zero instead of Inf/NaN in case of division by zero
AnimatedDivision: pass zero instead of Inf/NaN in case of division by zero

Summary:
Fabric will crash if Inf/NaN values are passed to the native side, so just pass zero to native in those cases. It's an equally (in)valid value and we're already logging the error.

Also, debounce the error so we don't spam the LogBox/console.

This should potentially be changed to a warning.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D22008980

fbshipit-source-id: 1aef33a13febed04311557718f05ef79bbbcca93

arthuralee/react-native,hoangpham95/react-native,janicduplessis/react-native,javache/react-native,facebook/react-native,pandiaraj44/react-native,pandiaraj44/react-native,hoangpham95/react-native,janicduplessis/react-native,myntra/react-native,pandiaraj44/react-native,arthuralee/react-native,facebook/react-native,facebook/react-native,myntra/react-native,janicduplessis/react-native,pandiaraj44/react-native,hoangpham95/react-native,javache/react-native,facebook/react-native,hoangpham95/react-native,arthuralee/react-native,janicduplessis/react-native,javache/react-native,myntra/react-native,facebook/react-native,myntra/react-native,janicduplessis/react-native,pandiaraj44/react-native,javache/react-native,arthuralee/react-native,janicduplessis/react-native,hoangpham95/react-native,facebook/react-native,myntra/react-native,javache/react-native,hoangpham95/react-native,janicduplessis/react-native,janicduplessis/react-native,myntra/react-native,myntra/react-native,javache/react-native,javache/react-native,facebook/react-native,myntra/react-native,facebook/react-native,javache/react-native,facebook/react-native,hoangpham95/react-native,hoangpham95/react-native,pandiaraj44/react-native,pandiaraj44/react-native,javache/react-native,arthuralee/react-native,pandiaraj44/react-native,myntra/react-native