Hi there! GmsCompat and GmsCompatConfig are not Google apps. It's just the compatibility layer that makes the Google apps work within the standard sandbox.
Please do not touch any of their permissions. It's perfectly fine for these apps to be installed.
In general, for system apps and apps that come with the phone (think Phone, Messaging etc.), I would implore you not to touch their permissions at all, as you may break things that will be very difficult for us to figure out without knowing exactly what you're altered.
It's not a security or privacy issue to leave them as they are.