libhwc: fix a compiler warning
libhwc: fix compilation