Check if item id exists before passing to SiteLinksView

Item id is used as a param for the SpecialSetSiteLink page,
but might be null if a new item.

Bug: 67361
Change-Id: I876674e78feb337f71ed6aeb6b60297d0417a15a