[PATCH openEuler-5.10 17/40] livepatch: Delete the duplicate code of klp_compare_address()