Fix broken links pointed out in https://github.com/astropy/astropy/issues/2895