Simplify arena_str(n)dup().

By using the return value of memcpy() and strnlen() (POSIX.1-2008).

Piggyback whitespace nit.