Remove superflous checks in configure.ac.

Removing checks for memset, malloc, free, stdlib.h, and string.h as they are always available.

Please check @caipt, @rillian