configure.ac: Add AC_FUNC_STRERROR_R

For compatibility with jellyfish 1.1.11 which requires `HAVE_DECL_STRERROR_R` and `STRERROR_R_CHAR_P`.
See https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Particular-Functions.html