Fix case when G_AddCommand updates an existing cb pointer