LPS-40317 Use GroupPermissionUtil.contains(PermissionChecker, Group, String) instead of GroupPermissionUtil.contains(PermissionChecker, long, String)

Hi Shuyang,

According to profile, we are invoking GroupPermissionUtil.contains(PermissionChecker, long, String) many times which can be replaced by simpler GroupPermissionUtil.contains(PermissionChecker, Group, String).

Then I made this change, in this commit, it only includes changes in portal-impl, I will sent another pr for the changes in portal-web.


Thanks.
Tina.