hwaccel: Simplify ff_find_hwaccel