Gael Monfils extended his perfect record over Marin Cilic to four matches, as he beat the former US Open champion in three sets at the Dubai Tennis Championships.