[PATCH openEuler-5.10 71/95] memory: renesas-rpc-if: fix platform-device leak in error path