adding thumbnail checks

in `wpsc_the_product_thumbnail`, a divide by zero error occurs when no thumbnail ID is found but the function continues along. this adds logic to bail after the 2nd `thumbnail_id` check if no ID is found, and also setting sizes to `absint`