x86/boot: Fix early command-line parsing when partial word matches