MapDBCache: remove direct db field access

There was one remaining spot where the db field was being accessed
directly, causing a potential NPE.

Fixed to use the lazy db() instantiation method.