[CORE] Don't allow same function to be registered twice as recevier to a vserial port

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