Ticket #3333: fix g_error_new_valist().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>