Use strlcat when available instead of strncat

Address OpenBSD warning and use strlcat if available instead of strncat.
Reported by Douglas Carmichael.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Fix buffer overflow in MASI loader

Instrument name has only 32 bytes (31 characters). Reported by Douglas
Carmichael.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>