Add sequential, __host__ __device__ scan functions.
Lower scalar scan functions onto sequential backend.