Merge pull request #2502 from WalterBright/iasm-buf-overflow

fix Issue 10398 - Dmd bugs detected by memcheck when compile druntime+ph...