Implement MachOObjectFile::getHeader directly.