media: Support getStopTimeOffsetUs in GraphicBufferSource.

So MediaCodecSource could use the stopTimeOffset to adjust the stop timeout
dynamically.

Test: Camera recording with video stream delay.
Bug: 35925528
Change-Id: Ic186971992bdc03155e9993cb44027002f71a457
10 files changed