Remove function 'check_issue_1059_shell_profile_error' from check.rake as it is not needed anymore

Since gitlab-shell replaced gitolite there is no reason to check whether `.profile` is correct. This task was implemented to fix #1059.