www/firefox: fix build on 32bit
this brings the double_t-related typedefs in line with our definitions
and brings back the rounding helpers for those.
PR: 258804
Reported by: Felix Palmen
(cherry picked from commit edae8a1c040482b1cc559eee4f6d626288d54965)