Add missing function prototype for cause-register test.
Break out the last few cheritest functions (which list and modify registers
explicitly) to a new cheritest_registers.c file.