Reduce unnecessary surface operation of setting trusted overlay

It only needs to update at surface creation or the related attributes
are changed, rather than setting on every frame.

Bug: 303982379
Test: TrustedOverlayTests
Change-Id: Iaafff343dbf4ce95d312d5efc23c78b92dc2343f
4 files changed