Correctly use nsIPrefBranch/nsIPrefBranch2