Convert player_t.commands from a GQueue to a GPtrArray