strv: add an additional overflow check when enlarging strv()s

https://bugs.freedesktop.org/show_bug.cgi?id=76745

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>