modules: add USE_AVCAPTURE and try to detect it