Merge "hwc/copybit: Add check for Max layers support."

Change-Id: I9525805252e9c07a767d764f664e15afd7e15d22