This largely reduces the number of files needed to be compiled when we change the MessagePort header. (cherry picked from commit 32a22c49e3e999e681e2d1de1ebabd092a7f9b47)