Script: Disallow pointer members in managed structs

Until we have a way of managing their reference counts, pointers inside
managed structs need to be disabled. This can be introduced at a later
date without affecting syntax (we just remove the restriction added in
this commit).