Properly close fd backing a MemoryIntArray
am: e257d6e167

Change-Id: I8b8dd8470eba5ad71b7356f1ad44ef49a2c61bff