Delete obsolete function _al_prim_wrap_two_pi.
Fix late assertion in win_shutdown.

Reported by Max Savenkov.
audio: Fix pointer to local variable in DSound recorder.

The pointer is never dereferenced (currently) so it wasn't harmful,
but fix it anyway.  Reported by Max Savenkov.
audio: Defend against (impossible) out-of-bound array accesses.

This would only be possible if audio streams could have zero fragments,
which they can't.  But it doesn't hurt to swap the operands of && to
silence static analysis tools.  Reported by Max Savenkov.
ex_bitmap_target: Fix missing braces in if statement.

Sounds bad, but the only consequence was that the program toggled modes
on any key press instead of only Space.  Reported by Max Savenkov.