kmod/patch: fix bug on __exit of patch module.

Signed-off-by: Jincheng Miao <jincheng.miao@gmail.com>