[COFF] Refactor .drectve section handling. No functionality change.