companion to druntime #611:improve demangling for function local symbols

adjust unittests to changes by https://github.com/D-Programming-Language/druntime/pull/611
fixes issues 10277 & 6045