Reapply "SharedMemory: mark fdsan ownership"

The previous attempt failed to remove `mFileDescriptor.setInt$(-1)`
from close(), so codepaths that explicitly closed their SharedMemory
would leak.

This reverts commit 4caec17d76c42ae9df0ca137c6c190b6f05f1d65.

Bug: http://b/347867443
Test: treehugger
Change-Id: I2ead9e56635dbc04a0342d3ec5c7bbde972d647b
2 files changed