read-cache.c: use ALLOC_GROW() in add_index_entry()