Patch to build on armhf

NULL is not a valid va_list value, and armhf for example fails to build
with it. Pass an empty list in that case.