configure: fix gpac detection with -Wp,-D_FORTIFY_SOURCE=2