Fixed a warning in ReservationAllocatorTest.ResourcesReturned.

Review: https://reviews.apache.org/r/20633
Fixed a CHECK failure in Statistics.