lib: Print own pid in messaging_init