lavfi/testsrc: make use of AV_OPT_TYPE_DURATION