[flashrom-gerrit] Change in flashrom[master]: nicrealtek.c: Refactor singleton states into reentrant pattern