Fix T40834, grab brush not working after recent jittering fix.

Some brushes do not require location always. Made a list here, there may
be others but I think this pretty much covers this.
warning fix: use of __restrict was inconsistent in BLI_dynstr between declaration and definition
Get rid of usage of non-existing module
add: initial datablock patch apply
fix: osx compilation fail