Update sdb and fix #777 - pxq and pxw honors cfg.big_endian