fix calculation of expiration date if there is a default expiration date...

... set (but not forced) and the user does not want the link to expire.

seems related to #11288

```
!empty($defaultExpireSettings['enforceExpireDate'])
```
means that the *enforceExpireDate* is set, so that means that the default expire date is used if it is enforced.