Re-initialize va_list ap between writelog and writescreen.

Fixes segfault on Ubuntu Precise/glibc 2.15.