Simplify HSH_Lookup 1/N
Simplify HSH_Lookup 1/N

Move successful loop termination out of the loop.

Inspired by:	#2856

gquintard/Varnish-Cache,gquintard/Varnish-Cache,gquintard/Varnish-Cache,gquintard/Varnish-Cache