mbnambuf_write() only checks the slot offset against nb_buf when it
has to shift an earlier substring. The first substring of a name is
copied without the check, and its id comes from the on-disk winentry.
Do the check unconditionally.
Sponsored by: Advanced Micro Devices, Inc.
Signed-off-by: Osvaldo Janeri Filho <ojanerif@amd.com>