Make it build in DEBUG

A couple of changes were left out in debug messages while
other code was changed

Change-Id: I4d99ade607e4dfdc7d8b0f7ab414ab43664c6ca9
Fix crash on boot

There is a race condition where the sysfs-vsync thread accesses a value
(in particular a function ptr) that may not have been set yet as this
is done externally.

Change-Id: I21d7024c793ab3b8d833c3a8305110128237ba36