SF: Pass owning Layer when creating LayerFE

This is a quick patch for ARC so that the LayerFE's know what Layer they
correspond to. A recently reverted change to remove
legacyFrontEndEnabled broke ARC targets as the new code created
LayerFE's that didn't know the corresponding Layer, and caused other
startup failures as a result.

Bug: 337894453
Test: Play Store is usable on Chromebooks
Test: atest libsurfaceflinger_unittest

Change-Id: I0d83153236d99d65d850b1fb3fdd8d1cf461b50d
6 files changed