Merge "hwc: Process only MAX_NUM_LAYERS"