Fixed XSynchronize and XSetAfterFunction definitions

XSynchronize and XSetAfterFunction have broken definitions, probably due to an automatic conversion