Revert "vm: lower optimization level to O2"

This reverts commit ae7142697638332877cd1197efba01f858c765cf.