Rename faultcode_t

Solaris defines a faultcode_t type already, which causes some
compilation issues on Solaris.