Move #include ogr_api.h at top of file
Avoid failure on misc_5 with PDF driver