Pion condensation of quark matter in a static Einstein universe