Add filter_frames_early option to filter frames before stringifying args

This allows the filter to inspect the raw arguments of the frame to
decide whether to include the frame, and also avoid unnecessary
stringification of unwanted frames' args.