Fix: RPR related for JVET-AG0164
RPR has encoder decoder mismatch. The issue was located to JVET-AG0164. The reason was located to the check of scaled reference for GPM which before JVET-AG0164 always return false, e.g. always allow scaled reference. The fix is to align that also with JVET-AG0164 so that scaled reference is allowed. After these fixes for AG0058, AG0145 and this fix there is hopefully always encoder decoder match also for RPR..