Update MockDLL.c

Fixed warnings about implicit malloc and free definitions.