[registry] Simplify c-ffi registry entries.

Fixes #749.