[bcl] Allow Marshal.SizeOf () to work on pointer types. Fixes #17587.