Fix -Wfortify-source compiler warning am: 16111f1abb

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

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