gallivm: Fix potential buffer overflowing in strncat.