Fix -Wfortify-source compiler warning am: 16111f1abb am: 8414dd9fe4 am: 716f75b651

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

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