PowerPC fixes and enchancements

This set of commits brings grub2 for powerpc images
I think this should be changed to

```
if (($firmware =~ /bios|ofw/) && (! -e "$stages/$grubimg")) {
    ...
}
```