skia: Add workaround for gcc 4.8 bug #54781

Change-Id: Ie201f6b1965c945ba9a14a69722dbb498516bec8
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Modified for migrating Skia test to lava_test_shell

Change-Id: I7afbfb44e610481a71f0bdddb1448ed35facd75a