style: Change include sorter to yield one line at a time
style: Change include sorter to yield one line at a time

The include sorter class normally yields one string per line and
relies on the caller to merge lines into a block of text separated by
newlines. However, there are cases when this isn't true. This makes
diffing using Python's difflib hard. This changeset updates the
include sorter to never do this and always yield one line at a time.

Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-by: Steve Reinhardt <steve.reinhardt@amd.com>

--HG--
extra : rebase_source : 154c9c7e1ebdd77e09fe5f28d0cfddc9e6c6b1eb

briancoutinho0905/2dsampling,gem5/gem5,KuroeKurose/gem5,rallylee/gem5,SanchayanMaity/gem5,gem5/gem5,powerjg/gem5-ci-test,aclifton/cpeg853-gem5,cancro7/gem5,briancoutinho0905/2dsampling,rjschof/gem5,powerjg/gem5-ci-test,qizenguf/MLC-STT,rallylee/gem5,Weil0ng/gem5,KuroeKurose/gem5,briancoutinho0905/2dsampling,Weil0ng/gem5,Weil0ng/gem5,gedare/gem5,qizenguf/MLC-STT,SanchayanMaity/gem5,aclifton/cpeg853-gem5,rallylee/gem5,aclifton/cpeg853-gem5,cancro7/gem5,KuroeKurose/gem5,rjschof/gem5,aclifton/cpeg853-gem5,rjschof/gem5,aclifton/cpeg853-gem5,TUD-OS/gem5-dtu,rjschof/gem5,KuroeKurose/gem5,TUD-OS/gem5-dtu,powerjg/gem5-ci-test,SanchayanMaity/gem5,briancoutinho0905/2dsampling,HwisooSo/gemV-update,rallylee/gem5,TUD-OS/gem5-dtu,cancro7/gem5,powerjg/gem5-ci-test,rjschof/gem5,HwisooSo/gemV-update,aclifton/cpeg853-gem5,gem5/gem5,Weil0ng/gem5,sobercoder/gem5,gem5/gem5,KuroeKurose/gem5,rallylee/gem5,HwisooSo/gemV-update,qizenguf/MLC-STT,briancoutinho0905/2dsampling,gem5/gem5,aclifton/cpeg853-gem5,HwisooSo/gemV-update,qizenguf/MLC-STT,Weil0ng/gem5,gedare/gem5,qizenguf/MLC-STT,SanchayanMaity/gem5,KuroeKurose/gem5,HwisooSo/gemV-update,gedare/gem5,gedare/gem5,cancro7/gem5,sobercoder/gem5,powerjg/gem5-ci-test,sobercoder/gem5,qizenguf/MLC-STT,HwisooSo/gemV-update,SanchayanMaity/gem5,HwisooSo/gemV-update,powerjg/gem5-ci-test,KuroeKurose/gem5,briancoutinho0905/2dsampling,TUD-OS/gem5-dtu,briancoutinho0905/2dsampling,Weil0ng/gem5,cancro7/gem5,gem5/gem5,rjschof/gem5,rallylee/gem5,cancro7/gem5,sobercoder/gem5,gedare/gem5,rjschof/gem5,gedare/gem5,Weil0ng/gem5,sobercoder/gem5,TUD-OS/gem5-dtu,sobercoder/gem5,SanchayanMaity/gem5,TUD-OS/gem5-dtu,sobercoder/gem5,gem5/gem5,TUD-OS/gem5-dtu,SanchayanMaity/gem5,cancro7/gem5,gedare/gem5,rallylee/gem5,powerjg/gem5-ci-test,qizenguf/MLC-STT