fix(views): elgg_view_menu_item shows no link for items with null href

fixes #5023

previous PR in #7341
Should we just check for empty()? Is that possible to do with function return values?