bm: cherry-pick one patch from freebsd to fix logb() denormals issue

picked from
https://github.com/android/platform_bionic/commit/9c9b0fc7e1dff39baa8cdf2536be9776aa4af766
Merge "bm: cherry-pick one patch from freebsd to fix logb() denormals issue" into gingerbread