Implement limit method for arguments of hyper and meijerg (issues 3251, 2953)

This is an alternative to PR #2037