os_testcmd: Update types for failure code

Atheme commit 8a6fee5 changed faultcode_t to cmd_faultcode_t,
so update our usage too.