Work around double-closing memfd.
Work around double-closing memfd.

Bug: 148437092
Change-Id: Ib4dab5cce1fd6366abaeddc0888d5392ce7ebd80
google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto