AudioDeviceTemplate doesn't initialize `output_` and `input_` if the initialization of `audio_manager_` succeeds. Similarly, it doesn't terminate `input_` and `audio_manager_` if the termination of `output_` succeeds. This CL fixes this. BUG= Review URL: https://codereview.webrtc.org/1296693003 Cr-Commit-Position: refs/heads/master@{#9760}