XWIKI-9014: Error on page when viewing profile pages on IE8 on XEM
* Add click listeners only when the user is a member of at least one workspace.
(cherry picked from commit 212b4b98c6f59949d9e13c47938950b063bc09ba)

Conflicts:
	xwiki-platform-core/xwiki-platform-workspace/xwiki-platform-workspace-ui/src/main/resources/WorkspaceManager/UserWorkspaceSheet.xml