Fix pet spell cooldown

Fix pet spell cooldown being extended without successful cast

Closes #12560