lwlibav: Fix parsing H.264 stream in some file formats.

This is a regression in c536077e91.