runtime: skip zero-sized fields in structs when converting to FFI