ImDrawList: Store initial flags for the frame in ImDrawListSharedData, reducing code duplication in setting up the flags.