octascript: implement codegen for "from" statement

Also, reduce some register waste in LocalMemberDeclaration codegen.