Update. This can be done now by creating a surface scout that comprises the entire cortex (e.g., merging the hemisphere scouts in the Structures atlas), and then exporting the surface scout as MRI mask. See this other thread: