[flashrom] [PATCH 1/2] Various fixes for building as a payload.