libafs: Remove support for length optimisation