Set frame based on surface control width/height

Buffers may be transformed due to transformHint and/or
transformToDisplayInverse.  So the buffer we get is not
a good indicator of our frame w/out additional calculation.
Use the surface control's width and height to determine frame

Bug: 147388905
Test: build, boot, libgui_test
Change-Id: Ia2c7d6d5db8a0f9479a6950eab06ac40eef5a044
1 file changed