fix invalid access outside of sine table

I noticed pos would overflow the table size. Since I assume the sine table loops anyway, it seems reasonable to just mask it. This fixes an access violation on Mac OS X when playing b2k_theme.st