add LTR processing in reference frame management

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