Make get_nameinfo non-static

Change-Id: I8d9d3d2388d9d670a22d0c1e1f360b6e7bf33d68
Reviewed-on: http://review.couchbase.org/31426
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>