libc: Add getpeername

Signed-off-by: Takuya ASADA <syuu@cloudius-systems.com>