Simplify some functions in OatMethod. The old code had different behavior in the case of methods with metadata and a code size of 0, but this is apparently not possible, at least not any more. Change-Id: I045dfe191fbb88419f05578ab6b316044bc18e9e