[ticket/13164] data sent to core.submit_post_end event does not include fresh post_visibility

[PHPBB3-13164](https://tracker.phpbb.com/browse/PHPBB3-13164)