Ukraine's Marta Kostyuk needed three sets to overcome Elise Mertens in her opener at the Cincinnati Open.