[TIMOB-17876] Work around va_list issue

This issue only occurs on 64 bit simulators