grep-func-call: do not dead loop

Signed-off-by: Bao Haojun <baohaojun@gmail.com>