[coreboot] Patch for getpir when using input image file