lwlibav: Define flags for video frames instead of 'keyframe' and 'is_leading' field.