Merge "Fix out-of-bound memory access in loop filter" into nextgenv2