Fix thread-safety bug in BytecodeClass.computeMethodMap

The map must not be modified after BytecodeClass.methodMap has become non-null. Thus, keep it in a local variable while it still is initialized using put(..) and only write to the field afterwards.