Set [[AlreadyResolved]] as soon as resolve is called

Spec: https://github.com/domenic/promises-unwrapping#promise-resolve-functions
Merge pull request #332 from teddyzeenny/resolve

Set [[AlreadyResolved]] as soon as resolve is called