configure: Fail on missing prototypes in check_oc.

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