use varg macro to properly pass error message

previously, `what` and `limit` is not passed to fprintf in ktapc_runerror and causing segfault on execution