Black screen with 10-bit H.265

I have a bunch of files encoded with H.265 10-bit and my frontend running 17.3 is showing me black screen. Running Gentoo, my ffmpeg is built with “-x264 -x265”. I understand these Gentoo USE flags affect encoding only and I’m not doing any encoding in this box. I have to say H.264 encoded files play fine, also H.265 8-bit play fine.
My question is: is there a problem with Kodi or my box setup?

Edit: OK, I see the problem now. This box has Intel graphics

Code:
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21)

It can do H.265 decoding in hardware, but only 8-bit. Unfortunately Kodi switches to hardware decoding even with 10-bit H.265 stream.

What can I do to stop Kodi using hardware decoding if the video is H.265 10-bit?