Set proper default values for pool attributes (#15559)
### Description
Setting proper default value for attributes of pool operators
### Motivation and Context
Fixed AB#14719
Global pooling and pooling operators usually share the same underlying
implementation. When we detect the operator is global, code for setting
up the attributes is skipped. This may cause un-deterministic behavior.