[fix #179] use standard memory allocation functions in gdbm