Do not auto link to inaccessible actions

Even though show action is disabled for a specific resource or the current user doesn't have access to it, the links are generated in show page table or index table anyway. They lead to either "access denied" or "not found" error pages. The links for default actions in index table are checked for these conditions (see [here](https://github.com/activeadmin/activeadmin/blob/cc6aa1674449f4ae9d7651b214d14e2e82d1b67c/lib/active_admin/views/index_as_table.rb#L328])). I applied the same conditions for links generated by auto linking helper.