[PATCH 4.19 067/115] riscv: ftrace: correct the condition logic in function graph tracer