[data_loader] Enable overriding signal handler in DataLoader.cpp (#101816)
Summary: Custom signal handlers (e.g. with more logging) can help in debugging crashes.
Test Plan: builds
Reviewed By: drej82
Differential Revision: D45934625
Pull Request resolved: https://github.com/pytorch/pytorch/pull/101816
Approved by: https://github.com/drej82