Rename faultcode_t, since it conflits on Solaris

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