common: Fix compilation on gcc 4.6

C++11 type alias feature is only available in g++ >= 4.7, so we can't
use it. This commit modifies LruCache interface to be usable without
these aliases.

Change-Id: Id6c83064ecb0bc53fe8c65b9813d4bd066b0ed7a