rhine: Move platform dependencies to rhine

Change-Id: I3b09505cc967bea74ede945de0263a8d325093e5