update the number of reference when ltr changes

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