lwlibav_video: Fix DTS-based avg. fps calculation introduced at the previous commit.