Now that std::size is part of our supported compilers we can remove the old elems function.
Wine does not implement CaptureStackBackTrace, so we have to use StackWalk64 where possible.