loader: Use long instead of int in the preloader for anything that can store a pointer.