[Script/ICC] Fix phase check and warning from last commit

[Core/Players] Prevent trading, taking gold from mail and withdrawing from guild bank if it would put the player over gold cap