[PATCH 6.7 637/713] char: xilinx_hwicap: Fix NULL vs IS_ERR() bug