FS-6292 don't use AC_FUNC_MALLOC on NetBSD as rp_malloc isn't defined