Don't use va_start() with reference parameters, it's undefined behavior.

Should fix issue #584.
Merge pull request #585 from nico/fixcrash

Don't use va_start() with reference parameters, it's undefined behavior.