fix libglinked_remove_node. had a bug which didn't remove if it was the first element