installer: Simplify kernel command line parsing