[PATCH v2 26/31] boot: Update extlinux pxe_getfile_func() to include type