kmod/core: check force flag in replace case

When unpatching a function due to "kpatch replace", check the force flag
before doing the activeness safety check.