Adds support for odd patch shapes in function extract_local_patches_fast

Extracting local patches around a particular image location was limited to even patch shapes when using the optimized function `extract_local_patches_fast`. This little PR aims at removing this limitation and effectively allowing the extraction of patches with odd patch shapes.