Fix build with libraw 0.19
Ifdef functionality that depends on code removed from libraw 0.19, and mark it as deprecated
BUG: 397345
Differential Revision: https://phabricator.kde.org/D15132