Revert "Extract CastToPromise from `Promise.cast`."

This reverts commit ab245ff421075c6d8351a26c0f8b9e791bc7c76c. It turns out the module loader spec doesn't actually need this.