[SCSI] libfc: add some generic NPIV support routines to libfc