mkubootenv: Autodetect flags in reverse mode

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>