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.

Similar to the TranslatePrim() funcs.

-[Unknown]