Compact Modeling of Nonideal Trapping/Detrapping Processes in GaN Power Devices