platform: add nmp_netns_bind_to_path() helper function