[CORE] vio: Add inline functions to access emulator context

Currently, we directly accessed emulator private context of vserial,
vkeyboard, and vmouse which is not easy to maintain in long-term
hence this patch introduces inline accessor functions for this.

Signed-off-by: Anup Patel <anup@brainfault.org>