LPS-50847 Fix unsafe cast, there's no reason to cast too LiferayFileEntr...

...y since isInTrash calls DLFileEntry's method