Fixed crash with stale MediaCodec buffer locations.