Previously, a frame queued before calling addFrameListener could be passed to the listener. Also fixes an issue where listener could still be called after removeFrameListener call returned. BUG=webrtc:6470 Review-Url: https://codereview.webrtc.org/2529313002 Cr-Commit-Position: refs/heads/master@{#15275}