Set the render rate on the created surface frame instead of the old one.

Otherwise this crashes when overriding a framerate, since mSurfaceFrame
may not be initialized when a layer is first created.

Bug: 180141499
Test: builds, boots
Change-Id: I1f5cecae3fa44a00a61f125435245bcfb2b9ff90
3 files changed