avcapture: fix compilation for older clang releases