Fix EZP-22174: Respect site.ini\[RoleSettings]\EnableCaching setting in eZUser::purgeUs...

...erCacheByUserId() and eZUser::getUserCacheByUserId()

Link: https://jira.ez.no/browse/EZP-22174