strmap: split create_entry() out of strmap_put()