Fix incorrect boot flags order

The buggy boot flags order swallows e.g. --halt.

This fixes [CureCode issue #2030](http://issue.cc/r3/2030).