lavfi: Add support for increasing hardware frame pool sizes