[LIBS] Use appropriate node attribute access API where applicable

We replace use of vmm_devtree_attrval() API with appropriate
node attribute access API wherever applicable.

Signed-off-by: Anup Patel <anup@brainfault.org>