Fix error handing related to xgi_cmdlist_initialize.