use function pointer as refactoring for further strategy adjustment
Merge pull request #1375 from sijchen/ref_refac11

[Encoder] Use function pointer for pEndofUpdateRefList