Casting flash in lifter valley

Opon disassembly of my 2012 5.7 Hemi truck engine to repair a bad lifter and cam I notice what seem to be excessive casting flash between the lifter bores and the inner valley wall . Some of the edges are fairly sharp and thin . Contemplating grinding them away but I wonder if this would weaken the lifter bores?