Fix beta function for BigFloats
Merge pull request #4078 from JuliaLang/anj/beta

Fix beta function for BigFloats