md/raid5: Fix a bug about judging if the operation is syncing or replacing