Allows to get current key at the current cursor state.
References axl_return_val_if_fail.
Referenced by axl_node_attr_cursor_get_key().