gaia: histogram extraction: handle blank pixels in floats

remember to swap when testing blanks