tools: Stop using implicit conversion Buffer->name::Component (disabled in the library)

Change-Id: Ic2fdea9c70d874fc9fcd4a1f98b9a392365b62e0
tlv-hack: Fixing warning after small change in the library

Change-Id: I0539729ee68675be62517394d92fdd3dfd9c623d