audiocore: Don't rely on MSVC extension for passing iterators

Fixes compilation with g++ and clang++.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Merge pull request #118 from dwbuiten/g++fix

audiocore: Don't rely on MSVC extension for passing iterators