lwlibav: Don't treat IDR-frame as a keyframe if not immediately preceded by corresponding SPS and PPS.