Fix basename with glibc
Fix basename with glibc

GLIBC provides basename in string.h, and defines basename to
__xpg_basename (which can modify its input argument) in libgen.h.

Submitted by:	Sam Clegg <sbc@chromium.org>

skoef/pkg,junovitch/pkg,khorben/pkg,junovitch/pkg,en90/pkg,Open343/pkg,khorben/pkg,skoef/pkg,Open343/pkg,en90/pkg,khorben/pkg