PE: use reinterpret_cast instead of C style casting