Don't use -> operator with vector pointers when using AMD compiler.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>