configure: Check for generated output in check_header_oc.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>