Fix WindowFilterPushDown optimizer to handle other window functions correctly

Yeah, the call to `getExactFunction` is unnecessary. It just validates that the function exists in the registry.