LPS-31027 - aui:tool taglib fails with cast error

http://issues.liferay.com/browse/LPS-31027