BUG: Pass args and kwargs to empty
Merge pull request #6953 from TomAugspurger/_apply_empty_result-args

BUG: Pass args and kwargs to empty
BUG: Bug in sum/mean on 32-bit platforms on overflows with non-max dtypes (GH6915)