fix the issue that long term reference frame is disable for screen

Approved at : https://rbcommons.com/s/OpenH264/r/387/