Add bindings for ph_hammingdistance and dct_imagehash.