[Git][pacman/pacman][release/7.0.x] pacman/util.c: fix segfault when replace in strreplace is NULL