crypto: fix return type prob reported by coverity
Coverity correctly reported that the value returned by BIO_get_mem_data could be negative and the type provided for the return value was unsigned.
Fix up the type and check.
Signed-off-by: Michael Dawson mdawson@devrus.com