Fix a memory leak in Groonga::PatriciaTrie.open_near_cursor