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

Change-Id: Id8c3ad9f5519de604880e1debb917ea7f8baede8