flashrom: fix build on Little Endian MIPS and add license.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>