discover/powerpc: Separate ipmi bootdev handling into separate functions