droid-extcon.c: adapt to new pulseaudio 5 APIs

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>