dfa: replace redundant check by assert

The values are checked in the wraper function used to call this code.

This was introduced by: ee715f49a06bf3898246d01b056284a9bb1bcbb9

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
