[Encoder ME] add FME switch logic

reviewed at https://rbcommons.com/s/OpenH264/r/346/