Brazil posts weaker-than-expected GDP growth