CoP: Factual Inconsistency Detection by Controlling the Preference