WIP StateBlock
indexbuffer: don't MALLOC pipe_index_buffer, init desc before use

pipe_index_buffer is just a small struct for passing data to
pipe::set_index_buffer.