configure: fix 'subdir-objects' distclean related issue

See XC_AMEND_DISTCLEAN comments for details.