ffi/debug: Add remaining unsafe debug_* functions

Signed-off-by: Anton Lofgren <anton.lofgren@gmail.com>