XWIKI-9003: Warning in console when deleting an attachment
* $redirect variable was not defined.
(cherry picked from commit 4a2219b7086014cf0998c82b5bf47bf3778c6795)

Conflicts:
	xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/attachmentslist.vm