Rewrite lj_ff_type stub for 64bit.
Fix two sign extension bugs. Pass bootstrap.