[PATCH openEuler-23.09 06/13] livepatch/core: Support load and unload hooks