Don't use std::vector::data()

It is a C++11 only function.

Reported by Eelco.

No functional change.