Impact of b → s (cid:2)(cid:2) anomalies on rare charm decays in non-universal Z (cid:3) models