[ticket/12398] Use return of submit_post() in functional tests utilizing create_post()

This will make sure that we have the proper post_id when comparing results.

Ticket: https://tracker.phpbb.com/browse/PHPBB3-12398