register .C interface

- C code is using .C, rather than .Call
- Mangle R-visible names with prefix C_...
- use registration when loading dynamic library, so symbols
  are looked up only once and can be referenced explicitly