[osboot] Refactor magenta loading code out of osboot

Change-Id: I3ca5d46ed0e864f712c1cc7c27999394222b72c5
4 files changed