Callback return struct by pointer

When have callback which returns struct
```c
typedef struct S {
 const struct S* (*cb)(const struct S*p);
}
```
it was generated as
```ruby
class AVClass < FFI::Struct
  layout(
    :cb, callback([ :pointer ], AVClass.by_value)
  )
end
```