Add parameter to encode argument types for DirectCEntryStub::GenerateCall

This is required as some paths need to pass first arg by reference and
others by value depending on type.