Apply the desired HDR headroom when creating the SurfaceView's surface

Otherwise, surface destruction, such as when a SurfaceView is detached
from a window, causes the SurfaceView to "forget" the requested headroom
when the surface is re-created.

Bug: 338655585
Test: SurfaceViewTests
Change-Id: Ie54d9aca289dca21355c5515ee384e7e06fd4171
1 file changed