[PATCH 34/39] bootmeth_extlinux: Move boot code into common file