Fix: GDR initialization and memory leak
Some fixes for GDR after the official ECM 6.0 release. Changes include
- Change of picHeader allocation at Picture::finalInit(), will be freed at CodingStructure::destroy()
- Change of returning SLICE type when GDR in enabled at EncGOP::compressGOP(), EncSlice::initEncSlice()
- Change of picHeader initialization at EncSlice::initEncSlice()
Edited by Vadim Seregin