fix reference picture modification bug
Merge pull request #214 from licaiguo/fix-rpl

fix reference picture modification bug -- review #67