Core: Fix two more potential memory leaks within IOdarwin.mm

These need to be released before returning.