[RILMODEM] query password state and prevent double sim initialisation

This prevents double initialisation and thus memory leak.

Signed-off-by: Jarko Poutiainen <Jarko.Poutiainen@oss.tieto.com>