bucket: fix success code of HEAD request

The current code returns 204 when HEAD Buecket succeeds, but AWS S3 returns
200.

Change-Id: Id7d335f48e4453edce32191e9e7a79641ff8e96b
Merge "bucket: fix success code of HEAD request"