[libbus/pnp] Add check for NULL QueryDevText member