comdlg32: Add a helper to test if file dialog hook is enabled.