[ticket/13435] Add core event to modify submit_post() sql data

<a href="https://tracker.phpbb.com/browse/PHPBB3-13435">PHPBB3-13435</a>.