lib: update md5 module to latest FFI spec