load: Avoid compiler-generated memset
This file is built standalone, so no memset definition is available.
The only thing we need is that the path is originally zero-terminated.
While we're at it, also rename the function to `strlcat`, since that's
the semantics our version implements (`strncat` takes the source size,
not the dest size).