Fixed 4186: Enabling AC3 encoding option in audio renderer causes memory leaks

- ProcessAC3Frame was leaking memory when the temp buffer was not release
- NegotiateFormat was not releasing WAVEFORMATEXTENSIBLE