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

Change-Id: I5b1a7242b4486b2759133ce0a6e736fd5a06d46f