sdm: Fix fd leak during SetOutputBuffer() for WFD

SetOutputBuffer() can be invoked any number of times from framework
during validate and commit phase. Close and reassign the acquire fence
fd of output buffer on every SetOutputBuffer() call rather than closing
the acquire fence during post commit.

Change-Id: I573e93d52217fc69d28e10ddd7f1325d1cc0e9fc
1 file changed