[bugfix #921] declare applyUnsharpMask() static