Disabled BORDER_CONSTANT for pyramid functions.
Merge pull request #2766 from akarsakov:pyr_border_constant
Fixed bugs in Mat::release(). Bug#3757