Add __host__ __device__, sequential versions of malloc & free