Additionally limit upscaled references to <= 720 for profile!=0.

The previous limit was <=1080p, which was sufficient to keep RAM
usage below 3GB for the 8 bit path, but turns out to be insufficient
for the 10 bit path.

Change-Id: I7a19261928a4e1a71f5f297125651113a2465d3d
1 file changed