The current acpi_name uses a static buffer to store the node name. This
is unsafe when two threads call this as the second will trash the
value of the first.
Add a version where the caller passes in the buffer and length so they
are safe from other threads.
Sponsored by: Arm Ltd