[automerger] Add extra (size_t) cast to avoid compiler warning. am: 1387a89b14 am: bc2ee79a6e

Change-Id: I27bc7e2fe1315dffb3e098fd80b459b2666c49d1