mod_cgi: Make ScriptLog directive work again by fixing the flags passed to ap_open(). TODO: Roll recent mod_cgi logging changes into mod_cgid.