fixed calls to legacy gen_server2 functions

pcall/4 and pcast/3 were removed from gen_server2. Upstream versions of
rabbit_common has changed these calls to call/3 and cast/2