[PATCH 6.8 634/715] char: xilinx_hwicap: Fix NULL vs IS_ERR() bug