libstd: correct bigint's quot/rem, div/modulo
auto merge of #6013 : gifnksm/rust/bigint-quot-rem, r=graydon

BigInt had been supported quot/rem and div/mod correctly, but after merging #5990 they have been broken.
This commit fixes it.