lwlibav: Fix average displayed framerate caluclation when PTSs are generated.