flashrom.c: add support for erase