Fix GC.stat for 2.2 compatibility

GC.stat now accepts a hash or a key. If the latter is given, then GC.stat should return only the value for that key, or throw an ArgumentError if the key does not exist.