use default expire date only for link shares

use the default expire date, defined by the admin, only for public link shares, as discussed here https://github.com/owncloud/core/issues/8344#issuecomment-42813133