libcopybit: Add missing return statement

Change-Id: I662699b7418eba2c4792ed6c7c7b628762ebe03b
(cherry picked from commit f2e940109252c63b6e21f929e45ba794dfe12b95)
copybit: Fix type conversion error for GCC 4.7

    GCC 4.7 has stricter type conversion rules in copybit.cpp

Change-Id: I7f8572e2d9416ccb2ba17e707c7f75a2e69d69cf