VID-1907 Logic to display the new galleries

The two nested conditionals above can be simplified as:
```php
if ( empty( $file ) || WikiaFileHelper::isFileTypeVideo( $file ) ) {
	continue;
}
```
This way, the rest of the statements in `foreach` wont be indented another level.