Fixed process::await and process::collect to take const references.

Review: https://reviews.apache.org/r/20231