runtime: clean up map code.  Remove hashmap.h.
Use cnew/cnewarray instead of mallocgc.

R=golang-dev, dvyukov
CC=golang-dev
https://codereview.appspot.com/13396045