[guilib] animation length was calculated incorrectly from effects with different delays
[guilib] drop unused AddEffect() function
Merge pull request #4580 from jmarshallnz/anim_length_fix

[guilib] animation length was calculated incorrectly from effects