Fix virtual address calculation for TE file format loader