Fix: libtransition: potential memory leak if unpacking action fails
Before, a copy of the action XML would be allocated but not freed
if allocating the action structure then failed, and callers would silently
ignore the failure. Now, the memory leak is avoided, and any errors
will be logged.