Closed #5613: fixed a bug of cc.Audio that it throws an error when audio's duration is infinity

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