libgralloc: avoid fd leaks