Fix double free.

When exporting a temporarily imported semaphore, the temporary
state is released but the type is not updated to reflect that;
so on destroy the state is released again.

https://bugs.freedesktop.org/show_bug.cgi?id=106643

Change-Id: Ia26688f4aed9fe61154cfc80ed96f361719cfe3a
2 files changed