GDateTime: Add guards to g_date_time_new()