THRIFT-4045 Remove AC_FUNC_MALLOC and AC_FUNC_REALLOC to fix building with Address Sanitizer
Client: C++
Patch: Dawid Drechny <dawid.drechny@tomtom.com>

This closes #1065
This closes #1169
diff --git a/configure.ac b/configure.ac
index 6415e3d..8a15ede 100755
--- a/configure.ac
+++ b/configure.ac
@@ -657,9 +657,7 @@
 
 AC_FUNC_ALLOCA
 AC_FUNC_FORK
-AC_FUNC_MALLOC
 AC_FUNC_MEMCMP
-AC_FUNC_REALLOC
 AC_FUNC_SELECT_ARGTYPES
 AC_FUNC_STAT
 AC_FUNC_STRERROR_R