[PATCH openEuler-1.0-LTS 4/4] ftrace: Fix invalid address access in lookup_rec() when index is 0