Adapt ofs2rva and rva2ofs for the new libpe.