xkbcomp: fix wrong return type