globals: Make xmlGlobalState private This removes a public struct but it seems impossible to use its members in a sensible way from external code.