lwlibav: Fix a regression in b79372b9d6 .

The number of decoder delay was not counted correctly when finding the first valid video frame.