sdm: Fix output fences on prepare failure.

Prepare failure results in repeating the older frame, without issuing a
commit. Output fences i.e., release and retire get populated during start.
These need to be cleared in case of prepare failure, else it will lead
to deadlocks.

CRs-Fixed: 3321131
Change-Id: Iec1d2fb8c14b5748fb273533fa4f2c012bf6c2b6
1 file changed