gui: add test for region sampling

Adds a test that checks the correct luma is produced under a few
scenarios with different layerings.

Bug: 119639245
Test: ./libgui_test --gtest_filter="RegionSamplingTest.*"
Change-Id: Ic85a97f475a3414a79d3719bbd0b2b648bbccfb0
2 files changed