target: Further refactoring of core_scsi3_emulate_pro_register()