libroot: sync() should not return any value
libroot/x86: Fix indirect jump