docs: Fix annotations for optional arguments
The length parameter in g_hash_table_get_keys_as_arrays() is optional and this should be reflected in the gtk-doc annotations.
For the relevant part of the code, see https://gitlab.gnome.org/devrtz/glib/-/blob/main/glib/ghash.c#L2235