Redmine #5211: Detect broken strndup on AIX and provide workaround.

This is only vaguely true.  Also, "10000000 bytes" is probably better spelt either "10,000,000 bytes" or "10 MB".  When I'm looking at more than about four of a character in an uninterrupted row, I have trouble being sure of my attempts at counting them.