This patch adds const qualifiers to the functions Allocator::consumed, Allocator::overhead, Allocator::avail, and Range_allocator::valid_addr. Fixes #1481