Make libhybris hwcomposer work on viv

There's some error since #199 pull request, currently use a dirty fix to
solve it. Now viv can run test_hwcomposer :)

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>