fix: kosmos2.5: properly expand embeddings table (#45835)
* [fix] properly expand embeddings table
* [fix] update copied->adapted to reflect changes
and to make ci happy
* [fix] properly compute and pass past_key_values_length
* [add] test: ensure cached vs noncached generation is the same