Replace partition size hexes with integers (fixes at least one python build error).