luminance-hdr: fix build by Debian patch

(cherry picked from commit 8ca78f0376c8888886a959cc5cbb6f895b9956f2)