Fix for infinite loop in MOAITimer ping-pong mode

When the time is equal to the end time, the old version will go into an
infinite loop.
Merge pull request #716 from Kaali/moai-master

Fix for infinite loop in MOAITimer ping-pong mode