Make libx86-ref and mktools external dependencies managed via
git submodules.
Update libx86-ref with latest changes.