[flashrom-gerrit] [M] Change in flashrom[master]: internal.c: Factor out laptop alerts into helper func