Fix typo in warning message

Same change as astropy/astropy@afb0c6f8796dfca3eb271531e3f4368bd0766aff in astropy.fits