Fix retain cycles when sending images from the share extension.
Fix retain cycles when sending images from the share extension.

matrix-org/matrix-ios-sdk,matrix-org/matrix-ios-sdk,matrix-org/matrix-ios-sdk,matrix-org/matrix-ios-sdk,matrix-org/matrix-ios-sdk