remoteproc: fix null reference when certain error handling forces removal of virtio devices

Change-Id: Idee7bf23f0b36888a8922c534a964536df0fe9fc
Merge branch 'cm-10.1' into martincz