[PATCH 4.14 062/338] rapidio: fix possible UAF when kfifo_alloc() fails