ffmpeg_player: fix returned size from buffer_stream::read when reading past the end of the buffer