Fixed a bug of cc.Audio that it throws an error when audio's duration is infinity