Do a cosmetic renaming of various test cases and corresponding functions
in /bin/cheritest to make them more consistent.
Address two warnings when comparing signed register values returned
from system calls with string lengths.