Put sections to segments according to linker scripts if available.
Rework the code of TargetLayout::assignSectionsToSegments so it operates on the given list of segments, which can be either read from linker scripts or constructed as before.
Handle NONE segments defined in linker scripts by putting corresponding sections to PT_NULL segment.
Consider flags set for segments through linker scripts.
NOTE: handling program header, as well as PHDRS and FILEHDR attributes of PHDRS command will be implemented separately.