libhwcomposer: vsync only when screen is on

Change-Id: I78183a10a5c9db14d898dca4c8644524c345dcc8
Signed-off-by: Tommy Alex <iptux7@gmail.com>