Report an error if RPC interface is parameterized (#10392).

Change-Id: I887c14b1df282c56a1e839eae5a4534501fa3911