installd_dexopt_test: fix close of owned file descriptor.

fdopen takes ownership of the file descriptor passed in, so the file
descriptor must not be closed directly.

Bug: http://b/139092341
Test: treehugger
Change-Id: I1132bfe7b1b8bcea80fd264ae7832603cdec69cd
1 file changed