Move PartitionAlloc to js/src/ for testing on the JS engine.