Increment write buffer miss counter only when first attempt fail

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>