Move the strnlen implementation into common so its available to any libc that may not implement strnlen. Signed-off-by: Kumar Gala <kumar.gala@intel.com>