For #25697 - deprecated `engine_init()` from the base Engine class.
This method has now been replaced with `pre_app_init()` which should be
used instead.  `engine_init()` will still be called for backwards
compatibility but will be fully removed in the future.