[PATCH 5.0 090/115] kprobes: Fix error check when reusing optimized probes