Fix va_list cleanup

va_copy will call va_start so we have to call va_end too.