Allow a per-file compiler for libraries.
Move common *_c*() functions from libcheri to libc.