[PATCH v3 12/19] boot: Update extlinux pxe_getfile_func() to include type