[ticket/12738] Pass $this->config in content_visibility constructor

PHPBB3-12738
https://tracker.phpbb.com/browse/PHPBB3-12738

Already Merged PR: https://github.com/phpbb/phpbb/pull/2623