depthsense: Avoid C++11 range based for-loop.