Update to the fix proposed by cem in [1].
This patch uses the glib GArray API to have growing list of old keycodes instead of using a fixed size array.
The patch is submitted upstream at [2].
[1] https://reviews.freebsd.org/D24338
[2] https://gitlab.xfce.org/xfce/libxfce4ui/-/merge_requests/1