hwc: update api version to v1.

Changes adapted from OMAP4XXX HWC
hwc: fix probable typo/thinko

Caught by this gcc warning:

hardware/ti/omap3/hwc/hwc.c: In function 'omap3_hwc_prepare':
hardware/ti/omap3/hwc/hwc.c:1054:31: warning: comparison between pointer and integer [enabled by default]

Change-Id: I1e34ba2e8de960585abe444908204ba5b485f354
hwc: silence a compiler warning

hardware/ti/omap3/hwc/hwc.c: In function 'omap3_hwc_prepare':
hardware/ti/omap3/hwc/hwc.c:1057:49: warning: assignment from incompatible pointer type [enabled by default]

Change-Id: I2f492ef390efeeb8a4ca5f94f1432665179c8eb6
hwc: Fix check for presence of sysfs vsync_time file

Change-Id: Ic3377463a87bd789b712fc688493dfdd7a2b0abd
hwc: allow building in Thumb mode on ARM