fix bug: stop search when get a def which doesn't a store inst

Signed-off-by: xiehuc <xiehuc@gmail.com>