Don't check for null after calling COFFObjectFile::toSec.