Allow reproject() to accept a CompImageHDU object

I believe that `reproject.reproject()` should accept a `CompImageHDU` in the same way as it accepts a `PrimaryHDU` or `ImageHDU`.

I have tested this patch by reprojecting a rice-compressed image, which worked as expected.