ISPN-3607 AdvancedCache.getEntry method doesn't work with passivated
entries

* Fixed issue where getEntry causes cast exception on passivated entry