Fix out-of-bounds read in ApiList::Dump.
am: 323e8c616e

Change-Id: I7fb4e216f637fcaea45ae9a869005fd099e6e96e