Documents in capped collections were not allowed to grow in MMapv1. This behavior is implemented here and tested here.
As MMAPv1 is no longer used, this code can be removed.