THe only issue I have seen with G17 trigger safeties is sometimes they have a rough mold mark type of edge on the front which rubs the shooter.
I have de-burred with an Exacto knife and solved the problem for the shooter, never had to take any meat off of the lever, nor would I for reasons stated above.
The lever is a requirement, I wouldn’t want a non-safety trigger on my Glocks.
The main issue you can run into if you trim the lever – which may or may not matter to the OP – is that if you are wearing gloves the trigger safety lever may not be long enough because a certain amount of its length will press into the glove when you pull the trigger.
A large state police agency had a Glock malfunction during an actual OIS last year, and the official cause was reported as the Trooper’s glove. Even though he had a stock trigger and safety lever, it was determined that the agency’s issued gloves were so thick and malleable that you could be pressing the trigger but the trigger safety lever wouldn’t actually move, so the gun wouldn’t go off.