[flashrom-gerrit] Change in flashrom[master]: tests: Wrap strdup to help cmocka recognise memory allocation