util: Move gallium's linked list to util