First CL to avoid working with wrapping picture ids. After the references of a frame has been determined they are then unwrapped. BUG=webrtc:7874 Review-Url: https://codereview.webrtc.org/2985283002 Cr-Commit-Position: refs/heads/master@{#19663}