nullptr check on suffix.

The value of suffix could be nullptr, hence we should perform a nullptr
check.

Bug: b/309001559
Test: boot
Change-Id: Ifd0bf521544d378cb438a8d9c3e0ad2ed5a199db
1 file changed