[PATCH 25/27] virTPMCreateCancelPath: Refactor value returning