s3:locking/proto.h: add _LOCKING_PROTO_H_ guard (cherry picked from commit ff82f77796...