Don't send BN_CLICKED message to potentially disabled button

Merged username-removed-360247 requested to merge engycz/tortoisegit:assert_fix into master

In Rebase Dialog : when IDC_REBASE_CONTINUE button is disabled for example when hash == upstream, sending BN_CLICKED message to a disabled button throws Debug Assertion Failed.