vpi/ipc: fix decoding of index buffer