[BUGFIX] Fix links of shortcuts to restricted pages in menus

Fix missing links in menus when shortcuts point to access restricted
pages or shortcuts themselves are restricted.

This fixes TypoScript menu option "showAccessRestrictedPages"

Resolves: #60258
Releases: master, 6.2
Change-Id: I25739e776bae99e8b8b9787be515c04a60c2706d
Reviewed-on: http://review.typo3.org/33726
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>