NumberUtils reports overflow when converting from BigInteger/BigDecimal to Long

Issue: SPR-11434
Polishing