[flashrom-gerrit] [S] Change in flashrom[1.2.x]: helpers.c: Fix undefined behavior in strndup()