[rilmodem] Query and log baseband and ril versions