opencv: fix clt-only builds

Closes #18610.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>