Issue #3035138 by jkamizato, rszrama, mrP: fix a PHP 7.2 warning related to non-numeric amount values passed to commerce_currency_amount_to_decimal().