Fixed crash if va_start is passed less arguments than expected