Disabled BORDER_CONSTANT for pyramid functions.
Merge pull request #2766 from akarsakov:pyr_border_constant