[ticket/9657] Fix wrongly added notifications when post is posted softdeleted

The post/topic should not trigger "*_in_queue" notifications if it is
softdeleted, as it is not in the queue then.

PHPBB3-9657