[server][AtomicValue] Make get() a const function so that it can be called even if the AtomicValue object is 'const'.