Simplify shash_find() followed by shash_add() into shash_add_once().