Revert "asfdec: fix assert failure on invalid files"

Reverting this pulled change as author considers this change buggy compared to his
original version.
This reverts commit 0bd433a916cd8d98fce47742fbf6d0f90ec941c4.
