mds-kbdc: compile-layout: fix a bug in parse_variable

Signed-off-by: Mattias Andrée <maandree@operamail.com>