SCUMM: Cleanup ScummEngine_v80he::createSound()

Added some comments to make it more readable. Switched usage of a temporary buffer and a double memcpy with a memmove.

Also fixed a potential out-of-bounds write, thanks to LordHoto.