Check for signed size_t during configure
Our code breaks badly in a few places when size_t is signed. Apparently this can happen with an old gcc, and maybe even with a few other compilers. For now I think we should add a configure check, and only if it turns out that anyone important is actually affected make sure that we can handle it.
Discovered by doorss, analyzed with help from rransom