[WFLY-490] fix small issue in attribute and operation builders

Hi Kabir,

I was going through your commits in the RBAC branch and found a tiny mistake. Here's a fix. Thanks!

Ladislav Thon