mmem: Prevent duplicate init of mmem

This could seriously corrupt data if mmem_init was called again after
someone called mmem_alloc.
Merge pull request #514 from BastianPoe/contiki-mmem1

mmem: Prevent duplicate init of mmem