prototype fixes
do wd and trap more portable for 64-bit
do mad, dip and trap loaders more portable for 64-bit
do small changes to ndisasm project