Optimize IndexGenerator::AddPrim() funcs for MSVC

Reduces profile from ~5.4% to ~1.6% (with vertex cache off) in Senjou no Valkyria 3 on Windows.  Not sure if it will help as much in gcc.  Doesn't really have much affect with vertex cache enabled.

Similar to the TranslatePrim() funcs.

-[Unknown]