Fix deStrnlen fall-back implementation