Fix clang debug-and-release build

Under circumstances clang will leave code that calls the dead default
constructor of Attribute, which causes link time errors.

Change-Id: I265f5b6ee864737c8261cff1439d525000eed1ba
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>