power: msm8998: Fix perf mode switch

 * Checking a pointer is NULL or not makes no sense, and as a result
   perf mode cannot be turned off. Fix it by checking the value.

Change-Id: I4feb37da72b757631619e1aa2917f2a345a8032b
1 file changed