SWF: fix compressed length checking