Improve bunch of functions in sceAtrac

Borrow code from jpcsp and oiotiff atrac code to get this done .

List of functions changed :
Analyze()
sceAtracGetNextSample() 
sceAtracGetSoundSample() 
sceAtracSetLoopNum() 
sceAtracGetBitrate()
sceAtracGetOutputChannel()
sceAtracSetHalfwayBufferAndGetID()
sceAtracGetNextDecodePosition()
sceAtracGetBufferInfoForReseting()