debian/patches: fix retrieving custom alarm sound path
ECal 2.0 returns the list of attachments as a GSList (a singly linked list). I'm not sure why, but the logic for iterating the list is completely incorrect. Fixing that fixes custom alarm sound.
A test is added to catch this case.
Fixes: ubports/development/apps/lomiri-clock-app#183 (closed)