[JITLink] Skip allocation for graphs with only empty sections (#239712)
An object whose only definitions are absolute symbols still has an
empty __text section on MachO. JITLinkerBase sent its graph to the
memory manager, and FinalizedAlloc asserted on the empty allocation.
Skip sections with no blocks, as BasicLayout does.
Assisted-by: Claude Code
Co-authored-by: Lang Hames <lhames@gmail.com>