docbook: fix rm'ed files mentioned in .d build error
When some .xml include file is deleted or removed, but the .d
already exists, the build will fail trying to build the apparently
missing file, requiring a make proper.
This fix enclosed the prerequisites in $(wildcard ...), when
generating the .d file.
(cherry picked from commit 111a87fef0868021d6585d32b879bac6cb07b310)