formats.c: Stop trying to use system's strnlen(), instead always use our
supplied fmt_strnlen(). We could move it to misc.c too at some point.