[z2036] Possibly fix ByteBuffer when no ACE_Stack_Trace available.

Testing required as I do not have access to a system that lacks ACE_Stack_Trace."

(based on commit 2e71d63)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(based on commit [s1649] - c83feda)