disable onednn gelu for empty input (#84926)
This PR is about disabling onednn gelu for empty input, fix https://github.com/pytorch/pytorch/issues/78152.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/84926
Approved by: https://github.com/Lezcano, https://github.com/zou3519