Fix -Wfortify-source compiler warning am: 16111f1abb am: 787985b5f5 am: a8fc6bc04d

Original change: https://android-review.googlesource.com/c/platform/system/incremental_delivery/+/2860694

Change-Id: I5d0aaae85ce384387256010e5408c19ce35d3be5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>