Fixed a memory ownership issue in nrf_modem_init. The nrf_modem_init_params pointer given to the init must have a static lifetime. This has been a stack variable since forever.
Originally this seems to have not been required, but this changed +-4 years ago without documentation update from Nordic.