avfilter/graphparser: Directly free filter memory if initialization fails
Remove #undefs for formerly forbidden system functions

The macros forbidding the system functions no longer exist, obviating
the need for the #undefs.