[PATCH 5.10 527/529] malidp: Fix NULL vs IS_ERR() checking