rustdoc: functions in ffi blocks are unsafe

Fixes #14188