JVET-AE0122: Fix for ppsid when both GOP based RPR and scalable coding is used
Fix to avoid crash when GOP based RPR is used together with scalable coding. The fix is for simplicity limited to two layers scalable coding since it seems sufficient in most cases.