LPS-32061 The restore dialog in the Recycle Bin displays "folder" as container name for any entity

Please consider merging brianchandotcom/liferay-portal/pull/8305 before this one, so it can be tested for MBThreads.

Thanks.