Fix for #1051: Rate control in current VTM does not work
Fix the not working of rate control.
- Support the case where GOP size=8 in ld cfg.
- Fix the wrong variables initialization in EncRCGOP::create()
- Fix the intra cost calculation in first picture.