LIB: use generic strnlen_user and strncpy_from_user functions (Chad Goodman)

Signed-off-by: poondog <markj338@gmail.com>

Conflicts:
	arch/arm/Kconfig