Corrected an issue when calling hookStop() from a post-hook

- Now hookStop() will do absolutely nothing if called from a post-hook,
  instead of causing unexpected effects on the next pre-hook execution.

Signed-off-by: Haru <haru@dotalux.com>