kernel: Added hooks for the speckle filter GAMMA_MAP