[flashrom-gerrit] [S] Change in flashrom[master]: erasure_layout.c: Test erasefn_count before using it to allocate memory