fix some sound bug

in some cases, TraceLine may shorten the shotline to length zero, which
causes addshotline() to produces illegal coordinates for sound effects
report openal errors with more detail

position checking may be reduced again in a while...