This continues the fix from changeset aabde0589450. We must use va_list to forward the arguments, because some of the arguments might be 64-bit pointers. A pointer does not fit in an int.