fix rescan at importprivkey.

Rescan should only be triggered when param Rescan is true.