Fix va_CallLocalFunction and va_CallRemoteFunction