Small fix for godmode and pain causing.

- Fixed: Godmode didn't stop ALLOW/CAUSE/FORCEPAIN because the code execution always ended prematurely.
- Optimized checks for fake pain and forced pain. Fake pain now calls a subfunction so the code is cleaner.
Yes. The target is the thing that has damage dealt to it. If target was NULL, this routine wouldn't be called in the first place.