add preserve_bad_pixels to hcongrid and fix offsets in zoom
add preserve_bad_pixels to hcongrid and fix offsets in zoom

alexlib/image_registration,keflavich/image_registration,jueqingsizhe66/image_registration