fix hwc and libpower compilation, and another try for the compilation of the gpu drivers/modules From sgx source

Change-Id: I076e2414b71c8e5da35587c0a4baeb025660647e