Missing param.pad condition for CUDNN pooling

Added check for pad >= 1