lib: spa-device: fix POD props iteration + key lifetimes
Fix memory leaks in bad GValue handling. Unset iterator GValue after use and strdup keys. The keys aren't necessarily static strings (for id-XXXX properties), so have to be dup'd.
Fix some bugs in !687 (merged)
Edited by P V