synergy: Fix x86 build

* Change way void casts work
* Fix outdated cast to static char
synergy: fix format specifiers to use B_PRI macros