[Encoder] fix the condition of selection of reference strategy for screen

being reviewed at: https://rbcommons.com/s/OpenH264/r/818/

the previous condition is impropoer