bpfloader: use unique_fd
am: 8d49fc7434

Change-Id: Ib79e003fb0b06d601a43996bb32b97a18bc4750d