RapidIO: fix potential null deref in rio_setup_device()