Future::failure should have a const ref return.

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