spl: add RAM boot device only if it is actually defined