Preheat oven to 375°F. Pulse flour, brown sugar, granulated sugar, cinnamon, salt, ginger, and baking powder in a food processor until combined, about 2 times. Add butter, and process until flour mixture goes past the crumbly stage and starts to clump together and look moist, about 30 seconds. Add oats, and pulse to combine, about 3 times. Transfer to a medium bowl, break up any large clumps, and chill, covered, until ready to use.