Move gimp_brush_core_{subsample,pressurize,solidify}_mask() to a separate gimpbrushcore-loops.cc file, so that they can be C++-ified independently from the rest of the code. The next commit parallelizes them.