mds-kbdc: split out and dedup include stack

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