Hrm, that would be awfully odd damage for any bug I know of to leave. Most bugs that will eat a chunk out of a leaf like that are caterpillars and the like but they also tend to eat down the side of a leave blade over and over until your leaves are just stripped stems.
And while you really shouldn't ever spray down late flowering plants I have used
neem oil spray less than a week before harvest and it wasn't noticeable in the final product and didn't cause me any problems but I had really good air flow so didn't have to worry about any bud rot and also washed my buds that grow after harvest so that probably took away any lingering residue that might have found it's way in there.
It's also certified safe for day of harvest use on produce and has been used in Ayurvedic medicine through India for centuries. Seems to be pretty safe stuff all in all. But on that note.....Go out of your way not to do that! Spider mites, or any pest, that far along will stunt growth and leave a bag full of bugs for bag appeal.
The one time I had to spray that late I had a horrible outbreak during a particularly bad heat wave. When I harvested the bugs were all dead but a random couple here and there but I had to burn the webs off in places on certain top colas they were so thick. Luckily I was the only one depending on that as medicine so I chocked it up as a lesson learned. On the upside it was still some really good weed.