Bugfix: Set expiration date only if it is supported

We've stopped setting expiration date in collaborators panel if it is not supported.

https://github.com/owncloud/web/issues/3674
https://github.com/owncloud/web/pull/3679