Add a public C API to the library by mimicking the C++ ABI with a C struct

Alternative to #138, review at https://rbcommons.com/s/OpenH264/r/57/.