implement fake FFI::Library#attach_function to declare empty methods for specs