On the non-oxygenic origins of thylakoids