Fixes #4853: Move r32502, r32510 to v1.8 branch (silence warning on solaris 10)

---svn-pre-commit-ignore-below---

r32502 [[BR]]
silence warning on solaris 10

on solaris 10, bzero is declared in strings.h and not in string.h

cmr=v1.8.2:reviewer=rhc

r32510 [[BR]]
silence warning on solaris 10

use HAVE_STRINGS_H to protect <strings.h> include

cmr=v1.8.2:reviewer=rhc:ticket=#4853
Fixes #4854: Move r32503 to v1.8 branch (silence a warning on Solaris)

---svn-pre-commit-ignore-below---

r32503 [[BR]]
silence a warning on Solaris

cmr=v1.8.2:reviewer=bgoglin