fix Issue 11674 - fenv_t declaration not architecture aware

- add declarations for X86 and X86_64
- also fix incorrect type for fexcept_t