Adjust generic swapon prototype to match Linux version.
Add missing #include for malloc/hooks.c code.