Refactor libretro device type handling.

Show devices in RGUI.