[PATCH 4.9 092/175] crypto: public_key: fix overflow during implicit conversion